<style>
    body{
        background-color: #f9f9f9;
    }
    .input-lg{
        width: 650px;
    }
    .input-sm{
        width:150px ;
        display: inline;
        height: 30px;
    }
    .input-md{
        width: 300px;
        display: inline;
        height: 30px;
    }
    .input-lg{
        height: 30px;
        display: inline;
        width: 650px;
    }
    .left-label{
        text-align: left;
        width: 75px;
        margin-left: 35px;
    }

    .xh-form .btn{
        margin-right: 5px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .xh-form tr td:nth-child(2n){
        padding: 5px 20px 5px 0;
    }

    .warn-color{
        border:1px solid #edbc6c !important;
    }
    .success-color{
        border:1px solid #2baab1 !important;
    }
    .idiv{
        padding: 0;
        margin: 0;
    }

</style>
{% if check is defined %}
    {{ check }}
{% endif %}
<form  id="form" method="post" action="{{ url('customer/saveContact') }}" class="form-horizontal" >
    <div class="form-group" style="display: none">
        <label class="col-sm-3 control-label">id</label>
        <div class="col-sm-9">
            <input  name="iCUCId" type="text" >
            <input  name="iCUId" type="text" >
        </div>
    </div>

    <div class="form-group" style="margin-left: 5px;">
        <div style="display: inline">
            <label class="left-label" style="margin-left: 15px;">姓名:</label>
            <div class="input-sm idiv">
                <input  class="form-control input-sm" name="sName" must="true" style="width: 150px;" type="text"  >
            </div>
        </div>
        <label class="left-label" style="margin-left: 15px;">职务:</label>
        <div class="input-sm idiv">
            {#<input  class="form-control input-sm" name="sJob"  style="width: 150px;" type="text"  >#}
            <select  class="form-control input-sm" name="iDuty"  style="width: 150px;" type="text"  >
                <option value="" selected style="display: none">请选择</option>
                {% for id,text in duty %}
                    <option value="{{ id }}">{{ text }}</option>
                {% endfor %}
            </select>
        </div>
        <label class="left-label" style="margin-left: 15px;">科目:</label>
        <div class="input-sm idiv">
            <select  class="form-control input-md" name="sSubjects[]"  multiple="true" style="width: 150px;"  >
                {% for id,text in subject %}
                    <option value="{{ id }}">{{ text }}</option>
                {% endfor %}
            </select>
        </div>
    </div>
    <div class="form-group" style="margin-left: 5px;">
        <label class="left-label" style="margin-left: 15px;">年级:</label>
        <div class="input-sm idiv">
            <select  class="form-control input-md" name="sGrades[]" multiple="true"  style="width: 150px;" >
                {% for id,text in grade %}
                    <option value="{{ id }}">{{ text }}</option>
                {% endfor %}
            </select>
        </div>
        <label class="left-label" style="margin-left: 15px;">班级:</label>
        <div class="input-sm idiv">
            <input  class="form-control input-sm" name="sClasses"  style="width: 150px;" type="text"  >
        </div>
        <label class="left-label" style="margin-left: 15px;">电子书包<br>负责人:</label>
        <div class="input-sm idiv">
            <select  class="form-control input-sm" name="bCharge"  style="width: 150px;"  >
                <option value="" style="display: none" selected>请选择</option>
                <option value="1">是</option>
                <option value="2">否</option>
            </select>
        </div>

    </div>
    <div class="form-group" style="margin-left: 5px;">
        <label class="left-label" style="margin-left: 15px;">性格:</label>
        <div class="input-sm idiv">
            <input name="sPersonality"  class="form-control input-sm" style="width: 150px;" type="text" >
        </div>
        <label class="left-label" style="margin-left: 15px;">爱好:</label>
        <div class="input-sm idiv">
            <input name="sHobby"  class="form-control input-sm" style="width: 150px;" type="text" >
        </div>
        <label class="left-label" style="margin-left: 15px;">电话:</label>
        <div class="input-sm idiv">
            <input name="sPhoneNum"  class="form-control input-sm" style="width: 150px;" type="text" >
        </div>
    </div>
    {#<div class="form-group" style="margin-left: 5px;">#}
        {#<label class="left-label" style="margin-left: 15px;">电话:</label>#}
        {#<div class="input-sm idiv">#}
            {#<input name="sPhoneNum"  class="form-control input-sm" style="width: 150px;" type="text" >#}
        {#</div>#}
        {#<label class="left-label" style="margin-left: 15px;">是否默认:</label>#}
        {#<select name="bDefault" class="form-control input-sm"  style="width: 150px;" type="text" >#}
            {#<option value="0" selected>否</option>#}
            {#<option value="1">是</option>#}
        {#</select>#}
    {#</div>#}
    <div class="form-group">
        <label class="left-label">描述:</label>
        <textarea rows="5" name="mDesc" class="form-control input-lg"  ></textarea>
    </div>

</form>